﻿using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;

namespace KouDai.WinPad.ViewModels
{
    public class HeaderViewModel : KouDaiScreen
    {
        #region Fields

        private readonly INavigationService _navigationService;
        private ObservableCollection<string> _items = new ObservableCollection<string>();

        #endregion

        #region Constructor

        public HeaderViewModel()
        {
            if (DesignMode.DesignModeEnabled)
            {
                LoadDesignData();
            }
        }

        public HeaderViewModel(INavigationService navigationService)
        {
            _navigationService = navigationService;
        }

        #endregion

        #region Properties

        public ObservableCollection<string> Items
        {
            get { return _items; }
            set { _items = value; }
        }

        #endregion

        #region Override

        #region LoadDesignData

        public override void LoadDesignData()
        {
            this.Items.Add("轻熟女");
            this.Items.Add("男人装");
            this.Items.Add("科技");
            this.Items.Add("童装");
        }

        #endregion

        #endregion

    }
}
